import request from "@/utils/request";

export function getProcessRelByPage(query) {
  return request({
    url: `/system/processRel/getProcessRelByPage`,
    method: "post",
    data: query,
  });
}

export function addProcessRel(query) {
  return request({
    url: `/system/processRel/addProcessRel`,
    method: "post",
    data: query,
  });
}

export function delProcessRel(query) {
  return request({
    url: `/system/processRel/delProcessRel`,
    method: "post",
    data: query,
  });
}

export function saveProcessSequence(query) {
  return request({
    url: `/system/processRel/saveProcessSequence`,
    method: "post",
    data: query,
  });
}
